Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for HW decode & High10 - Tdarr_Plugin_bsh1_Boosh_FFMPEG_QSV_HEVC.js #502

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

Boosh1
Copy link
Contributor

@Boosh1 Boosh1 commented Oct 10, 2023

Previous fix broke 10bit encodes. New fix sorts that & fixes up when HW decode should be used. H264 High10 was the problem all along, QSV seems to be happy decoding most 10bit files but High10 throws a spanner in. So now we enable SW decode for anything High10 and use normal HW decode on the rest. Pixel format cmd has a small adjustment depending on HW or SW decode.

Got some new test files to cover 10bit files better in future. Also I don't think there's test data for High10 files. Not sure if that's worth setting up now that Flows is a thing?

New fix for HW decode. H264 High10 is the problem. Enable SW decode for that and normal HW decode on the rest.
@Boosh1
Copy link
Contributor Author

Boosh1 commented Oct 10, 2023

Worth checking. Do we have enough tests for this one? I could spend a bit of time writing up more tests on a future pull

@HaveAGitGat HaveAGitGat merged commit d9f7f31 into HaveAGitGat:master Oct 11, 2023
3 checks passed
@HaveAGitGat
Copy link
Owner

Ty, yeah suppose could be handy. What I typically do is this:

https://github.com/HaveAGitGat/Tdarr_Plugins/blob/master/tests/Community/Tdarr_Plugin_00td_filter_bit_depth.js#L79

So can modify the video stream in the test file to have whatever is needed for the test.

@Boosh1 Boosh1 deleted the HWDecodeFix branch October 22, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants